package top.malegod.consumer;

import org.springframework.amqp.core.Message;
import org.springframework.amqp.core.MessageListener;

/**
 * Create by IntelliJ IDEA
 *
 * @author: AbelEthan
 * @date-Time: 2018/5/16 16:35
 * @description:
 */
public class OrderConsumer implements MessageListener {

  @Override
  public void onMessage(Message message) {
    System.out.println("Order接受数据名" + new String(message.getBody()));
  }
}
